package com.buaa.aiguangxi.controller;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.buaa.aiguangxi.dao.VideoDao;
import com.buaa.aiguangxi.service.InstanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.DependsOn;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@DependsOn("instanceDao")
public class VideoController {
	@Autowired
	private VideoDao videoDao;
	@Autowired
	private InstanceService instanceDao;

	@GetMapping("/create/video/info")
	public JSONObject getVideoInfo() {
		JSONObject jsonObject = JSON.parseObject("{\n" +
				"    \"id\": 1,\n" +
				"    \"model_sequence\": [\"source\", \"detection\", \"tracking\"],\n" +
				"    \"model_list\": {\n" +
				"        \"source\": [\n" +
				"            {\n" +
				"                \"id\": 1,\n" +
				"                \"name\": \"上林东1\"\n" +
				"            },\n" +
				"            {\n" +
				"                \"id\": 2,\n" +
				"                \"name\": \"上林东2\"\n" +
				"            }\n" +
				"        ],\n" +
				"        \"detection\": [\n" +
				"            {\n" +
				"                \"id\": 1,\n" +
				"                \"name\": \"YOLO\",\n" +
				"                \"params\": [\n" +
				"                    {\n" +
				"                        \"id\": 0,\n" +
				"                        \"name\": \"默认\"\n" +
				"                    },\n" +
				"                    {\n" +
				"                        \"id\": 1,\n" +
				"                        \"name\": \"原始\"\n" +
				"                    }\n" +
				"                ]\n" +
				"            },\n" +
				"            {\n" +
				"                \"id\": 2,\n" +
				"                \"name\": \"SSD\",\n" +
				"                \"params\": [\n" +
				"                    {\n" +
				"                        \"id\": 0,\n" +
				"                        \"name\": \"默认\"\n" +
				"                    },\n" +
				"                    {\n" +
				"                        \"id\": 1,\n" +
				"                        \"name\": \"原始\"\n" +
				"                    }\n" +
				"                ]\n" +
				"            },\n" +
				"            {\n" +
				"                \"id\": 3,\n" +
				"                \"name\": \"Faster RCNN\",\n" +
				"                \"params\": [\n" +
				"                    {\n" +
				"                        \"id\": 0,\n" +
				"                        \"name\": \"默认\"\n" +
				"                    },\n" +
				"                    {\n" +
				"                        \"id\": 1,\n" +
				"                        \"name\": \"原始\"\n" +
				"                    }\n" +
				"                ]\n" +
				"            },\n" +
				"            {\n" +
				"                \"id\": 4,\n" +
				"                \"name\": \"Mask RCNN\",\n" +
				"                \"params\": [\n" +
				"                    {\n" +
				"                        \"id\": 0,\n" +
				"                        \"name\": \"默认\"\n" +
				"                    },\n" +
				"                    {\n" +
				"                        \"id\": 1,\n" +
				"                        \"name\": \"原始\"\n" +
				"                    }\n" +
				"                ]\n" +
				"            }\n" +
//				"            {\n" +
//				"                \"id\": 5,\n" +
//				"                \"name\": \"其他\",\n" +
//				"                \"params\": [\n" +
//				"                    {\n" +
//				"                        \"id\": 0,\n" +
//				"                        \"name\": \"默认\"\n" +
//				"                    },\n" +
//				"                    {\n" +
//				"                        \"id\": 1,\n" +
//				"                        \"name\": \"原始\"\n" +
//				"                    }\n" +
//				"                ]\n" +
//				"            }\n" +
				"        ],\n" +
				"        \"tracking\": [\n" +
				"            {\n" +
				"                \"id\": 1,\n" +
				"                \"name\": \"SORT\",\n" +
				"                \"params\": [\n" +
				"                    {\n" +
				"                        \"id\": 0,\n" +
				"                        \"name\": \"默认\"\n" +
				"                    },\n" +
				"                    {\n" +
				"                        \"id\": 1,\n" +
				"                        \"name\": \"原始\"\n" +
				"                    },\n" +
				"                    {\n" +
				"                        \"id\": 2,\n" +
				"                        \"name\": \"参数⽂件⼀\"\n" +
				"                    }\n" +
				"                ]\n" +
				"            },\n" +
				"            {\n" +
				"                \"id\": 2,\n" +
				"                \"name\": \"Deep SORT\",\n" +
				"                \"params\": [\n" +
				"                    {\n" +
				"                        \"id\": 0,\n" +
				"                        \"name\": \"默认\"\n" +
				"                    },\n" +
				"                    {\n" +
				"                        \"id\": 1,\n" +
				"                        \"name\": \"原始\"\n" +
				"                    }\n" +
				"                ]\n" +
				"            }\n" +
//				"            {\n" +
//				"                \"id\": 3,\n" +
//				"                \"name\": \"其他\",\n" +
//				"                \"params\": [\n" +
//				"                    {\n" +
//				"                        \"id\": 0,\n" +
//				"                        \"name\": \"默认\"\n" +
//				"                    },\n" +
//				"                    {\n" +
//				"                        \"id\": 1,\n" +
//				"                        \"name\": \"原始\"\n" +
//				"                    }\n" +
//				"                ]\n" +
//				"            }\n" +
				"        ]\n" +
				"    },\n" +
				"    \"plumb_style_normal\": {\n" +
				"        \"connector\": [\"Flowchart\"],\n" +
				"        \"anchor\": [\"Bottom\", \"Top\"],\n" +
				"        \"endpoint\": \"Blank\",\n" +
				"        \"paintStyle\": { \"stroke\": \"#AAAAAA\", \"strokeWidth\": 2 },\n" +
				"        \"overlays\": [[\"Arrow\", { \"width\": 12, \"length\": 12, \"location\": 1 }]]\n" +
				"    },\n" +
				"    \"plumb_style_normal_RL\": {\n" +
				"        \"connector\": [\"Flowchart\"],\n" +
				"        \"anchor\": [\"Right\", \"Left\"],\n" +
				"        \"endpoint\": \"Blank\",\n" +
				"        \"paintStyle\": { \"stroke\": \"#AAAAAA\", \"strokeWidth\": 2 },\n" +
				"        \"overlays\": [[\"Arrow\", { \"width\": 12, \"length\": 12, \"location\": 1 }]]\n" +
				"    },\n" +
				"    \"plumb_style_train\": {\n" +
				"        \"connector\": [\"Flowchart\"],\n" +
				"        \"endpoint\": \"Blank\",\n" +
				"        \"paintStyle\": { \"stroke\": \"#FFFF00\", \"strokeWidth\": 2 },\n" +
				"        \"overlays\": [[\"Arrow\", { \"width\": 12, \"length\": 12, \"location\": 1 }]]\n" +
				"    },\n" +
				"    \"plumb_style_done\": {\n" +
				"        \"connector\": [\"Flowchart\"],\n" +
				"        \"endpoint\": \"Blank\",\n" +
				"        \"paintStyle\": { \"stroke\": \"#95F204\", \"strokeWidth\": 2 },\n" +
				"        \"overlays\": [[\"Arrow\", { \"width\": 12, \"length\": 12, \"location\": 1 }]]\n" +
				"    },\n" +
				"    \"plumb_ins\": null,\n" +
				"    \"point_pair\": [\n" +
				"        {\n" +
				"            \"source\": \"data-source\",\n" +
				"            \"target\": \"object-detection\",\n" +
				"            \"line\": null\n" +
				"        },\n" +
				"        {\n" +
				"            \"source\": \"object-detection\",\n" +
				"            \"target\": \"target-tracking\",\n" +
				"            \"line\": null\n" +
				"        },\n" +
				"        {\n" +
				"            \"source\": \"target-tracking\",\n" +
				"            \"target\": \"trajectory-series\",\n" +
				"            \"line\": null\n" +
				"        },\n" +
				"        {\n" +
				"            \"source\": \"trajectory-series\",\n" +
				"            \"target\": \"flow-statistics\",\n" +
				"            \"line\": null\n" +
				"        },\n" +
				"        {\n" +
				"            \"source\": \"trajectory-series\",\n" +
				"            \"target\": \"flow-calculation\",\n" +
				"            \"line\": null\n" +
				"        },\n" +
				"        {\n" +
				"            \"source\": \"data-source\",\n" +
				"            \"target\": \"knowledge-set\",\n" +
				"            \"line\": null\n" +
				"        },\n" +
				"        {\n" +
				"            \"source\": \"knowledge-set\",\n" +
				"            \"target\": \"camera-correction\",\n" +
				"            \"line\": null\n" +
				"        },\n" +
				"        {\n" +
				"            \"source\": \"camera-correction\",\n" +
				"            \"target\": \"flow-calculation\",\n" +
				"            \"line\": null\n" +
				"        }\n" +
				"    ],\n" +
				"    \"model_option\": {\n" +
				"        \"detection\": {\n" +
				"            \"goon\": false,\n" +
				"            \"params\": [],\n" +
				"            \"select_params\": { \"id\": -1, \"name\": \"选择参数⽂件\" }\n" +
				"        },\n" +
				"        \"tracking\": {\n" +
				"            \"goon\": false,\n" +
				"            \"params\": [],\n" +
				"            \"select_params\": { \"id\": -1, \"name\": \"选择参数⽂件\" }\n" +
				"        }\n" +
				"    },\n" +
				"    \"save_dialog\": false,\n" +
				"    \"name\": \"\",\n" +
				"    \"dragging_model\": null,\n" +
				"    \"select_model_list\": {\n" +
				"        \"source\": {\n" +
				"            \"item\": {\n" +
				"                \"id\": -1,\n" +
				"                \"name\": \"数据源\"\n" +
				"            }\n" +
				"        },\n" +
				"        \"detection\": {\n" +
				"            \"item\": {\n" +
				"                \"id\": -1,\n" +
				"                \"name\": \"⽬标检测\"\n" +
				"            }\n" +
				"        },\n" +
				"        \"tracking\": {\n" +
				"            \"item\": {\n" +
				"                \"id\": -1,\n" +
				"                \"name\": \"多⽬标跟踪\"\n" +
				"            }\n" +
				"        },\n" +
				"    },\n" +
				"    \"loss\": [],\n" +
				"    \"accuracy\": [],\n" +
				"    \"algorithm\": {\n" +
				"        \"name\": \"暂⽆\",\n" +
				"        \"version\": \"暂⽆\",\n" +
				"        \"author\": \"暂⽆\",\n" +
				"        \"start_time\": 0,\n" +
				"        \"duration\": 0,\n" +
				"        \"durationInterval\": null\n" +
				"    },\n" +
				"    \"saved\": false\n" +
				"}");
		jsonObject.put("success", true);
		jsonObject.put("msg", "");
		return jsonObject;
	}

	@GetMapping("/execute/video/info")
	public JSONObject getExecInfo() {
		Map<String, Object> map = videoDao.getVideoExecInfo();
		JSONObject jsonObject = JSON.parseObject(map.get("info").toString());
		jsonObject.put("success", true);
		jsonObject.put("msg", "");
		return jsonObject;
	}

	@PostMapping("/create/video/train/submit")
	public JSONObject submitVideoOption(@org.springframework.web.bind.annotation.RequestBody JSONObject input) {
		JSONObject jsonObject = new JSONObject();

		jsonObject.put("success", true);
		jsonObject.put("msg", "");
		System.out.println(instanceDao);
		System.out.println(input.toJSONString());
		instanceDao.addAnInstance(input.getInteger("sceneid"), 		input.getJSONObject("detection").getBoolean("goon") ||input.getJSONObject("tracking").getBoolean("goon") ?1:0, input.getString("name"));
		if (!input.getJSONObject("detection").getBoolean("goon") && !input.getJSONObject("tracking").getBoolean("goon")) {
			jsonObject = JSON.parseObject("{" +
					"    \"accuracy\":[0.75125," +
					"0.94812," +
					"0.95325," +
					"0.95236," +
					"0.96437," +
					"0.96807," +
					"0.97089," +
					"0.96941," +
					"0.97407," +
					"0.97395," +
					"0.97436," +
					"0.97072," +
					"0.97791," +
					"0.97633," +
					"0.97737," +
					"0.97805," +
					"0.97972," +
					"0.97796," +
					"0.97963," +
					"0.97885," +
					"0.9812," +
					"0.98144," +
					"0.98157," +
					"0.98185," +
					"0.98175," +
					"0.98268," +
					"0.98279," +
					"0.98371," +
					"0.98316," +
					"0.98303," +
					"0.98338," +
					"0.98397," +
					"0.98448," +
					"0.98425," +
					"0.98428," +
					"0.98457," +
					"0.98482," +
					"0.98502," +
					"0.98515," +
					"0.98516," +
					"0.98541," +
					"0.98521," +
					"0.98568," +
					"0.98548," +
					"0.98549," +
					"0.9854," +
					"0.98604," +
					"0.98627," +
					"0.98663," +
					"0.98643," +
					"0.98623," +
					"0.98662," +
					"0.98665," +
					"0.98672," +
					"0.98665," +
					"0.9867," +
					"0.98684," +
					"0.98638," +
					"0.98666," +
					"0.98683," +
					"0.98691," +
					"0.98692," +
					"0.98718," +
					"0.98711," +
					"0.98701," +
					"0.98725," +
					"0.9876," +
					"0.98768," +
					"0.9881," +
					"0.9879," +
					"0.98822," +
					"0.9876," +
					"0.98759," +
					"0.98755," +
					"0.9876," +
					"0.98772," +
					"0.98765," +
					"0.98773," +
					"0.98843," +
					"0.98789," +
					"0.98809," +
					"0.98847," +
					"0.98838," +
					"0.98861," +
					"0.98874," +
					"0.9886," +
					"0.9882," +
					"0.98868," +
					"0.9884," +
					"0.98863," +
					"0.98848," +
					"0.9887," +
					"0.98871," +
					"0.98849," +
					"0.98867," +
					"0.98852," +
					"0.98876," +
					"0.98876," +
					"0.98912," +
					"0.98886," +
					"0.98901," +
					"0.98903," +
					"0.98904," +
					"0.98913," +
					"0.9892," +
					"0.9893," +
					"0.98946," +
					"0.98963," +
					"0.98973," +
					"0.98979," +
					"0.98982," +
					"0.98978," +
					"0.98984," +
					"0.98953," +
					"0.9897," +
					"0.98959," +
					"0.9896," +
					"0.9895," +
					"0.98984," +
					"0.98985," +
					"0.98986," +
					"0.98991," +
					"0.98992," +
					"0.99011," +
					"0.99024," +
					"0.99017," +
					"0.99019," +
					"0.99027," +
					"0.99004," +
					"0.99004," +
					"0.99007," +
					"0.99008," +
					"0.99028," +
					"0.9901," +
					"0.9901," +
					"0.99011," +
					"0.99014," +
					"0.99015," +
					"0.9902," +
					"0.99027," +
					"0.99014," +
					"0.99022," +
					"0.99013," +
					"0.99022," +
					"0.99012," +
					"0.99017," +
					"0.99015," +
					"0.99015," +
					"0.99016," +
					"0.99021," +
					"0.99024," +
					"0.99027," +
					"0.99029," +
					"0.99033," +
					"0.99044," +
					"0.99061," +
					"0.99068," +
					"0.99053," +
					"0.99055," +
					"0.99041," +
					"0.99057," +
					"0.99056," +
					"0.99058," +
					"0.99048," +
					"0.99057," +
					"0.99052," +
					"0.99055," +
					"0.99054," +
					"0.99059," +
					"0.99059," +
					"0.99068," +
					"0.99066," +
					"0.9907," +
					"0.99083," +
					"0.99058," +
					"0.99036," +
					"0.99075," +
					"0.99059," +
					"0.99098," +
					"0.99091," +
					"0.99127," +
					"0.99128," +
					"0.99128," +
					"0.99131," +
					"0.99107," +
					"0.99109," +
					"0.9911," +
					"0.99137," +
					"0.99114," +
					"0.99103," +
					"0.9914," +
					"0.99117," +
					"0.99145," +
					"0.99152," +
					"0.99157," +
					"0.99123," +
					"0.99161," +
					"0.99138," +
					"0.99128," +
					"0.99132," +
					"0.99158," +
					"0.99168," +
					"0.99172," +
					"0.99172," +
					"0.99175," +
					"0.99179," +
					"0.99177," +
					"0.99179," +
					"0.99181," +
					"0.99184," +
					"0.9918," +
					"0.99188," +
					"0.99191," +
					"0.99193," +
					"0.99199," +
					"0.99206," +
					"0.99204," +
					"0.99204," +
					"0.99205," +
					"0.99207," +
					"0.99203," +
					"0.99203," +
					"0.99198," +
					"0.99205," +
					"0.99207," +
					"0.99209," +
					"0.99216," +
					"0.99222," +
					"0.99226," +
					"0.99226," +
					"0.99224," +
					"0.99226," +
					"0.99227," +
					"0.99228," +
					"0.99232," +
					"0.99233," +
					"0.99236," +
					"0.99239," +
					"0.9924," +
					"0.99241," +
					"0.9924," +
					"0.99241," +
					"0.99243," +
					"0.99243," +
					"0.99244," +
					"0.9925," +
					"0.99252," +
					"0.9925," +
					"0.99252," +
					"0.99253," +
					"0.99254," +
					"0.9926," +
					"0.99261," +
					"0.99263," +
					"0.99265," +
					"0.99265," +
					"0.99277," +
					"0.99278," +
					"0.99278," +
					"0.99273," +
					"0.99275," +
					"0.99266," +
					"0.99276," +
					"0.99277," +
					"0.99278," +
					"0.99279," +
					"0.99279," +
					"0.99283," +
					"0.99286," +
					"0.99286," +
					"0.99291," +
					"0.9929," +
					"0.99291," +
					"0.99293," +
					"0.99291," +
					"0.99292," +
					"0.99296," +
					"0.99296," +
					"0.99299," +
					"0.99301," +
					"0.99303," +
					"0.99304," +
					"0.99308," +
					"0.99308," +
					"0.9931," +
					"0.99314," +
					"0.99315," +
					"0.99314," +
					"0.99315," +
					"0.99314," +
					"0.99315," +
					"0.99316," +
					"0.99318," +
					"0.99318," +
					"0.99322," +
					"0.99318," +
					"0.9932," +
					"0.99325," +
					"0.99323," +
					"0.99324]," +
					"\"loss\":[0.0030334," +
					"0.0020804," +
					"0.0015964," +
					"0.0014663," +
					"0.0011398," +
					"0.00097634," +
					"0.00087321," +
					"0.00083701," +
					"0.00069011," +
					"0.00067283," +
					"0.00075," +
					"0.00075137," +
					"0.00058446," +
					"0.00061722," +
					"0.00053126," +
					"0.00057551," +
					"0.0004888," +
					"0.00052456," +
					"0.00052304," +
					"0.00046056," +
					"0.00046474," +
					"0.00046544," +
					"0.00045424," +
					"0.00044953," +
					"0.00042087," +
					"0.00041449," +
					"0.00042587," +
					"0.00042636," +
					"0.00042061," +
					"0.00039636," +
					"0.00039291," +
					"0.00037272," +
					"0.0004006," +
					"0.0003835," +
					"0.00037038," +
					"0.00037691," +
					"0.00038176," +
					"0.00038293," +
					"0.00036981," +
					"0.00037579," +
					"0.00037386," +
					"0.00036769," +
					"0.00036227," +
					"0.00036757," +
					"0.00036406," +
					"0.00036256," +
					"0.00036464," +
					"0.00035784," +
					"0.00035642," +
					"0.00034589," +
					"0.00035616," +
					"0.0003541," +
					"0.00035229," +
					"0.00034614," +
					"0.00034024," +
					"0.00034032," +
					"0.00033862," +
					"0.00034283," +
					"0.00033958," +
					"0.00034029," +
					"0.00034027," +
					"0.00033905," +
					"0.00033711," +
					"0.00033259," +
					"0.00033021," +
					"0.00033049," +
					"0.00033124," +
					"0.00033026," +
					"0.00032834," +
					"0.00032782," +
					"0.00032522," +
					"0.00032332," +
					"0.00032351," +
					"0.00032174," +
					"0.00032172," +
					"0.00032079," +
					"0.00032115," +
					"0.00032076," +
					"0.00031973," +
					"0.00031923," +
					"0.00031796," +
					"0.00031723," +
					"0.00031672," +
					"0.00031614," +
					"0.00031563," +
					"0.00031521," +
					"0.00031494," +
					"0.00031462," +
					"0.00031402," +
					"0.00031361," +
					"0.00031273," +
					"0.00031228," +
					"0.00031149," +
					"0.00031054," +
					"0.00031003," +
					"0.00030976," +
					"0.00030919," +
					"0.0003085," +
					"0.00030807," +
					"0.00030742," +
					"0.00030692," +
					"0.00030648," +
					"0.00030629," +
					"0.00030579," +
					"0.0003052," +
					"0.00030483," +
					"0.00030441," +
					"0.00030412," +
					"0.00030379," +
					"0.00030352," +
					"0.00030323," +
					"0.00030298," +
					"0.00030285," +
					"0.00030261," +
					"0.0003023," +
					"0.00030203," +
					"0.00030173," +
					"0.00030143," +
					"0.00030125," +
					"0.00030098," +
					"0.00030066," +
					"0.00030039," +
					"0.00030008," +
					"0.00029976," +
					"0.00029954," +
					"0.00029923," +
					"0.00029892," +
					"0.00029869," +
					"0.00029851," +
					"0.00029816," +
					"0.00029785," +
					"0.00029763," +
					"0.00029736," +
					"0.0002971," +
					"0.00029689," +
					"0.00029671," +
					"0.00029642," +
					"0.00029601," +
					"0.0002957," +
					"0.00029551," +
					"0.0002952," +
					"0.00029486," +
					"0.00029449," +
					"0.00029419," +
					"0.00029387," +
					"0.00029351," +
					"0.00029315," +
					"0.00029283," +
					"0.0002925," +
					"0.00029213," +
					"0.00029183," +
					"0.00029143," +
					"0.00029112," +
					"0.00029084," +
					"0.00029049," +
					"0.00029014," +
					"0.00028977," +
					"0.00028941," +
					"0.000289," +
					"0.00028854," +
					"0.00028816," +
					"0.00028776," +
					"0.00028743," +
					"0.00028695," +
					"0.0002865," +
					"0.00028614," +
					"0.00028575," +
					"0.00028531," +
					"0.00028492," +
					"0.00028446," +
					"0.00028406," +
					"0.00028361," +
					"0.00028318," +
					"0.00028281," +
					"0.00028238," +
					"0.00028199," +
					"0.00028156," +
					"0.0002811," +
					"0.00028062," +
					"0.00028015," +
					"0.00027962," +
					"0.00027913," +
					"0.00027862," +
					"0.00027809," +
					"0.00027767," +
					"0.00027715," +
					"0.00027668," +
					"0.00027626," +
					"0.0002758," +
					"0.00027534," +
					"0.00027492," +
					"0.0002745," +
					"0.000274," +
					"0.00027348," +
					"0.00027303," +
					"0.00027258," +
					"0.00027211," +
					"0.00027166," +
					"0.0002712," +
					"0.00027082," +
					"0.00027041," +
					"0.00026998," +
					"0.00026954," +
					"0.00026905," +
					"0.00026862," +
					"0.00026814," +
					"0.00026775," +
					"0.00026728," +
					"0.00026685," +
					"0.00026641," +
					"0.00026595," +
					"0.0002655," +
					"0.00026506," +
					"0.00026463," +
					"0.00026423," +
					"0.0002638," +
					"0.00026333," +
					"0.00026292," +
					"0.00026244," +
					"0.00026204," +
					"0.00026157," +
					"0.00026119," +
					"0.00026073," +
					"0.00026026," +
					"0.00025981," +
					"0.0002594," +
					"0.00025891," +
					"0.00025841," +
					"0.00025792," +
					"0.00025747," +
					"0.000257," +
					"0.00025654," +
					"0.00025605," +
					"0.00025558," +
					"0.00025506," +
					"0.00025456," +
					"0.00025407," +
					"0.00025356," +
					"0.0002531," +
					"0.00025269," +
					"0.0002522," +
					"0.00025172," +
					"0.00025123," +
					"0.00025076," +
					"0.0002503," +
					"0.00024983," +
					"0.00024936," +
					"0.00024895," +
					"0.00024858," +
					"0.00024818," +
					"0.00024776," +
					"0.0002474," +
					"0.00024696," +
					"0.00024652," +
					"0.00024607," +
					"0.00024567," +
					"0.00024522," +
					"0.00024484," +
					"0.00024438," +
					"0.00024402," +
					"0.00024361," +
					"0.00024319," +
					"0.00024276," +
					"0.00024233," +
					"0.00024192," +
					"0.00024157," +
					"0.00024121," +
					"0.00024072," +
					"0.00024024," +
					"0.00023988," +
					"0.00023938," +
					"0.00023896," +
					"0.00023853," +
					"0.00023818," +
					"0.00023774," +
					"0.00023733," +
					"0.00023687," +
					"0.00023651," +
					"0.00023612," +
					"0.00023573," +
					"0.00023535," +
					"0.00023502," +
					"0.0002346," +
					"0.00023421," +
					"0.00023374," +
					"0.00023344," +
					"0.00023305," +
					"0.00023271," +
					"0.0002323," +
					"0.00023193," +
					"0.00023159," +
					"0.00023129," +
					"0.00023088," +
					"0.00023057," +
					"0.00023018," +
					"0.00022985," +
					"0.00022948," +
					"0.00022919," +
					"0.00022881," +
					"0.00022849]" +
					"}");
			jsonObject.put("success", true);
			jsonObject.put("msg", "");
		}

		return jsonObject;
	}
}
